#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
typedef int l;
typedef struct node
{
	int data;
	struct node* next;
}node;
typedef struct queue
{
	node* front;
	node* last;
}queue;
void test();
node* newnode();
void initqueue(queue* q);
void pushback(queue* q, l x);
void popfront(queue* q);
l find(const queue* const q, l location);
void printqueue(queue q);